
//MACRO Definitions
#define CAMERA_PREVIEW_WIDTH	160
#define CAMERA_PREVIEW_HEIGHT	120

//Global Enumerations
typedef enum
{
    MESSAGE_INFO=1,
    MESSAGE_ERROR,
    MESSAGE_ENDRECORDING,
    MESSAGE_FILECAPTURED
} DSHOW_MESSAGE;

//Global Structure definitions
typedef struct
{
    DSHOW_MESSAGE   dwMessage;
    WCHAR*  wzMessage;
} Message;

//Function Declarations
HRESULT BuildCaptureGraph(HWND);
HRESULT RunCaptureGraph();
HRESULT ReleaseAllDshowObjects();


 